using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 配制表，一个客户端对就一条记录
    /// 数据条数:1
    /// 数据大小:16KB
    /// </summary>


    public class ConfigVo : BaseVo
    {
        #region Constract
        public Config mConfig;
        public ConfigVo(Config config)
        {
            mConfig = config;
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mConfig.id; } set { mConfig.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 注释:客户端ID
        /// 可空:NO
        /// </summary>

        public Int64 ClientId { get { return mConfig.clientId; } set { mConfig.clientId = value; OnPropertyChanged(this, nameof(ClientId)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String ClientNumber { get { return mConfig.clientNumber; } set { mConfig.clientNumber = value; OnPropertyChanged(this, nameof(ClientNumber)); } }

        /// <summary>
        /// 注释:激活码
        /// 可空:YES
        /// </summary>

        public String ActiveCode { get { return mConfig.activeCode; } set { mConfig.activeCode = value; OnPropertyChanged(this, nameof(ActiveCode)); } }

        /// <summary>
        /// 注释:激活时间
        /// 可空:YES
        /// </summary>

        public DateTime? ActiveTime { get { return mConfig.activeTime; } set { mConfig.activeTime = value; OnPropertyChanged(this, nameof(ActiveTime)); } }

        /// <summary>
        /// 注释:随机码
        /// 可空:YES
        /// </summary>

        public String RadomKey { get { return mConfig.radomKey; } set { mConfig.radomKey = value; OnPropertyChanged(this, nameof(RadomKey)); } }

        /// <summary>
        /// 注释:其它配制Json
        /// 可空:YES
        /// </summary>

        public String OtherConfig { get { return mConfig.otherConfig; } set { mConfig.otherConfig = value; OnPropertyChanged(this, nameof(OtherConfig)); } }

        /// <summary>
        /// 注释:上传状态 1 需要上传，0不需要
        /// 可空:NO
        ///默认值:0
        /// </summary>

        public Int32 UpStatus { get { return mConfig.upStatus; } set { mConfig.upStatus = value; OnPropertyChanged(this, nameof(UpStatus)); } }

        /// <summary>
        /// 注释:其它配制Json
        /// 可空:YES
        /// </summary>

        public String SystemConfig { get { return mConfig.systemConfig; } set { mConfig.systemConfig = value; OnPropertyChanged(this, nameof(SystemConfig)); } }

        /// <summary>
        /// 注释:用户配制Json
        /// 可空:YES
        /// </summary>

        public String UserConfig { get { return mConfig.userConfig; } set { mConfig.userConfig = value; OnPropertyChanged(this, nameof(UserConfig)); } }

        /// <summary>
        /// 注释:称重配制Json
        /// 可空:YES
        /// </summary>

        public String WeighingConfig { get { return mConfig.weighingConfig; } set { mConfig.weighingConfig = value; OnPropertyChanged(this, nameof(WeighingConfig)); } }

        /// <summary>
        /// 注释:图片保存配制Json
        /// 可空:YES
        /// </summary>

        public String ImgConfig { get { return mConfig.imgConfig; } set { mConfig.imgConfig = value; OnPropertyChanged(this, nameof(ImgConfig)); } }

        /// <summary>
        /// 注释:打印和磅单 配制Json
        /// 可空:YES
        /// </summary>

        public String BillPrintConfig { get { return mConfig.billPrintConfig; } set { mConfig.billPrintConfig = value; OnPropertyChanged(this, nameof(BillPrintConfig)); } }

        /// <summary>
        /// 注释:功能控制 配制Json
        /// 可空:YES
        /// </summary>

        public String FunctionConfig { get { return mConfig.functionConfig; } set { mConfig.functionConfig = value; OnPropertyChanged(this, nameof(FunctionConfig)); } }

        /// <summary>
        /// 注释:无人值守
        /// 可空:YES
        /// </summary>

        public String UnmannedConfig { get { return mConfig.unmannedConfig; } set { mConfig.unmannedConfig = value; OnPropertyChanged(this, nameof(UnmannedConfig)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String IcReaderConfig { get { return mConfig.icReaderConfig; } set { mConfig.icReaderConfig = value; OnPropertyChanged(this, nameof(IcReaderConfig)); } }


        /// <summary>
        /// 注释:Led 配制Json
        /// </summary>
        public String LedConfig
        {
            get { return mConfig.ledConfig; }
            set { mConfig.ledConfig = value; OnPropertyChanged(this, nameof(LedConfig)); }
        }
    }
}
